package com.coders.silpa;


	public class constructordemo {
		constructordemo()
		{
			System.out.println("inside default constructor");
			
			
		}
		constructordemo(int a)
		{
			System.out.println("inside single argument constructor");
		}	
		public static void main(String args[])
		{
			int a=5;
			System.out.println("inside main");
			constructordemo obj1= new constructordemo();
			constructordemo obj2= new constructordemo( a);
			
			

		}

	}


